package com.byxy.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "Department")

public class Department implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7063300249473682131L;
	@Id
	@Column(name = "id",length = 50)
	private Integer id;
	@Column(name = "name",length = 50)
	private String name;
	@Column(name = "ddesc",length = 50)
		private String ddesc;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDdesc() {
		return ddesc;
	}
	public void setDdesc(String ddesc) {
		this.ddesc = ddesc;
	}
	public Department(Integer id, String name, String ddesc) {
		super();
		this.id = id;
		this.name = name;
		this.ddesc = ddesc;
	}
	
}

